package com.lecyon.farm.entity.elasticsearch;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;

import javax.persistence.Id;

/**
 * @author Yao Zheng
 * @Date 2020/4/17 17:46
 */
@Data
@ApiModel("位置信息")
@Document(indexName = "simple_gps",type = "gps2019")
public class SimpleGps {

    @Id
    private String id;

    @Field
    private String carId;

    @Field
    private String alarm_GPS;

    @Field
    private String validFlag;

    @Field
    private String alarm_move;

    @Field
    private String commandID;

    @Field
    private String speed;

    @Field
    private String alarm_link;

    @Field
    private String sonser1_z;

    @Field
    private String sonser2_y;

    @Field
    private String sonser2_z;

    @Field
    private String sonser3_y;

    @Field
    private String sonser3_x;

    @Field
    private String alarm_TF;

    @Field
    private String sonser1_x;

    @Field
    private String sonser1_y;

    @Field
    private String sonser2_x;

    @Field
    private String workState;

    @Field
    private String nowDepth;

    @Field
    private String createDate;

    @Field
    private String hdop;

    @Field
    private String sonser3_z;

    @Field
    private String serialNo;

    @Field
    private String alarm_camera;

    @Field
    private String gpsLon;

    @Field
    private String gpsLat;

    @Field
    private String time;

    @Field
    private String alarm_GPRS;

    @Field
    private String alarm_match;

    @Field
    private String total_flow;

    @Field
    private String topic;

    @Field
    private String rt_flow;

}
